<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="mhash.resources.html">« 资源类型</a></li>
      <li style="float: right;"><a href="mhash.examples.html">范例 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.mhash.html">Mhash</a></li>
    <li>预定义常量</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="mhash.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <p class="para">
  Here is a list of hashes which are currently supported by mhash. If a
  hash is not listed here, but it is listed in the mhash documentation
  as supported, you can safely assume that this documentation is outdated.
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_ADLER32</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_CRC32</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_CRC32B</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_GOST</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_HAVAL128</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_HAVAL160</code></strong>
    </span>
   </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_HAVAL192</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_HAVAL224</code></strong>
     </span>
    </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_HAVAL256</code></strong>
    </span>
   </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_MD2</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_MD4</code></strong>
     </span>
    </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_MD5</code></strong>
    </span>
   </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_RIPEMD128</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_RIPEMD256</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_RIPEMD320</code></strong>
     </span>
    </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_SHA1</code></strong>
    </span>
   </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_SHA192</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_SHA224</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_SHA256</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_SHA384</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_SHA512</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_SNEFRU128</code></strong>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_SNEFRU256</code></strong>
     </span>
    </li>
    <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_TIGER</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MHASH_TIGER128</code></strong>
    </span>
   </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_TIGER160</code></strong>
     </span>
    </li>
   <li class="listitem">
     <span class="simpara">
      <strong><code>MHASH_WHIRLPOOL</code></strong>
     </span>
    </li>
  </ul>
 </p>
</div>
</div></div></body></html>